﻿Imports BusinessRule.DTO

Public Interface uMESQualityRecordIBusiness
    Function GetQualityRecordInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetQualityRecordInfoForProductNo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetQualityRecordDetailInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetQualityRecordValidateInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetNonsensePartNo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetNonsensePartNoForSpecCheck(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetLastQualityRecord(ByVal QueryCondition As Dictionary(Of String, String)) As String

    Function CreateQualityRecord(ByVal oCheckPointInfo As uMESQualityRecordDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateQualityRecord(ByVal oCheckPointInfo As uMESQualityRecordDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function QualityRecordDispose(ByVal oCheckPointInfo As uMESQualityRecordDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function QualityRecordValidate(ByVal oCheckPointInfo As uMESQualityRecordDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetTechnologistEmployee(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetFiveBillsType() As uMESProcessResult

    Function GeetFiveBillsInfo(ByVal QualityRecordName As String) As uMESProcessResult

    ''' <summary>
    ''' 根据报工记录计算不合格数（报工数量-检验记录的合格数）
    ''' </summary>
    ''' <returns></returns>
    Function GetConventioncheckhistoryInfo(ByVal oQualityRecordDTO As uMESQualityRecordDTO) As uMESQualityRecordDTO

    Function GetQualityRecordInfo2(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 不合格品审理确认
    ''' </summary>
    ''' <returns></returns>
    Function NonconformingProductTria(ByVal oQualityRecordDTO As uMESQualityRecordDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    ''' <summary>
    ''' 报废后更新质量记载单状态
    ''' </summary>
    ''' <returns></returns>
    Function UpdateQualityRecordStatus(ByVal oQualityRecordDTO As uMESQualityRecordDTO, ByRef result As Boolean, ByRef message As String) As Boolean
 

End Interface
